<div class="location">
    <a href="#">后台管理</a>
<?php
//$location = array(0 => array("title" => "用户管理", "link" => "/user/index"), 1 => array("title" => "添加用户", "link" => "/user/create"));
if (isset($location) && $location)
{
    foreach ($location as $v)
    {
?>
    &gt;&gt;<a href="<?php echo $v["link"]?>"><?php echo $v["title"];?></a>
<?php
    }
}
?>
</div>
